#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>      
#include <stdlib.h>     
#include <string.h>

int my_strlen(const char* p)
{
	int count = 0;
	while (*p)
	{
		count++;
		p++;
	}
	return count;
}

int main()
{
	char arr[] = "abcde";
	int len = my_strlen(arr);
	printf("%d", len);
	return 0;
}